package com.fss.cart.domain;

import com.fss.cart.domain.CartItem;

import java.util.List;

public class AddCartRequest {
    private List<CartItem> list;
    private Long userId;

    public AddCartRequest() {
    }

    public AddCartRequest(List<CartItem> list, Long userId) {
        this.list = list;
        this.userId = userId;
    }

    // Getters and Setters
    public List<CartItem> getList() {
        return list;
    }

    public void setList(List<CartItem> list) {
        this.list = list;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
